﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Collections.ObjectModel;
using Mal.Balades.AdminBusiness.DataModel;
using mal.balades.Business.Log;

namespace mal.balades.Web.Administration
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IAdminService" in both code and config file together.
    [ServiceContract(Namespace = "mal.balades.Web.Administration")]
    public interface IAdminService
    {
        
        [OperationContract]
        ReadOnlyCollection<VisitDashboard> GetVisitsForDashboard();

        [OperationContract]
        VisitAdmin GetVisit(int visitId);

        [OperationContract]
        ReadOnlyCollection<Mal.Balades.AdminBusiness.DataModel.Picture> GetVisitPictures(int visitId);

        [OperationContract]
        ReadOnlyCollection<Mal.Balades.AdminBusiness.DataModel.Information> GetVisitInformations(int visitId);

        [OperationContract]
        SaveVisitResult SaveVisit(SaveVisitObject visitToSave);
       
     
        
    }
}
